#!/bin/bash

#cd `dirname $0`
#
#mkdir -p ../logs
#touch ../logs/file-upload.log
#
#nohup java -jar /usr/local/services/file-upload/bin/file-upload-1.0.0.jar >>../logs/file-upload.log 2>&1 &
ssh root@s2.ok.un-net.com " docker pull s3.ok.un-net.com:5000/oneclick/oss; docker run --name oss  -v /data/oneclick/:/data/oneclick/ -v /etc/localtime:/etc/localtime:ro  -v /usr/local/docker/unnet-log/:/unnet-log/oneclick/ -d -p 9070:8080 s3.ok.un-net.com:5000/oneclick/oss"
ssh root@s1.ok.un-net.com " docker pull s3.ok.un-net.com:5000/oneclick/oss; docker run --name oss  -v /data/oneclick/:/data/oneclick/ -v /etc/localtime:/etc/localtime:ro -v /usr/local/docker/unnet-log/:/unnet-log/oneclick/  -d -p 9070:8080 s3.ok.un-net.com:5000/oneclick/oss"